﻿
	<h1>Промени профил</h1>
	
	<script type="text/javascript" src="<?= base_url('ckeditor/ckeditor.js') ?>"></script>
	
	<?php echo form_open_multipart('adminProfiles/updateProfiles/'.$theProfile->idPrfPk); ?>
	<table>
		<tr>
			<td>Име:</td>
			<td><input type="text" name="name" id="name" value="<?= $theProfile->name ?>" /></td>
		</tr>
		<tr>
			<td>Јазик:</td>
			<td><select id="language" name="language">
					<option value="mk" <?php if($theProfile->language == 'mk') echo 'selected'; ?>>Македонски</option>
					<option value="en" <?php if($theProfile->language == 'en') echo 'selected'; ?>>English</option>
			</select>
			</td>
		</tr>
		<tr>
			<td>Резиме:</td>
			<td><textarea class="ckeditor" name="summary" id="summary" cols="40" rows="10"><?= $theProfile->summary ?></textarea>
		</td>
		</tr>
		<tr>
			<td colspan="2"><input type="submit" name="submit" id="submit"	value="Внеси" /></td>
		</tr>
	</table>
	<?php echo form_close(); ?>